top nav and footer styling when window resizes