changed over to using css media queries instead of js to resize