added media queries and ipad scroll