changed to percetage to center popup on iphone