fix iphone and ipad responsive bugs