fix home layout for safari and ios (except small screens like iphone)