refactored home page header to allow both img and bg responsiveness