make the header image height consistent in mobile