made sidebars and canvas not overlap