fixes scrolling issue and media queries