fix Ipad bug in home page