added a sidebar to wrap the variables and a frame to show the page to be edited