add css to resize image based on screen size (only works when navigation menu is on top)