set different response for smaller screens for h1 and navigation