edit for iphone resizing