create_right_sidebar function

Add the right sidebar to an existing application