fixed scrollbars appearing when unneeded