Added resizing for iphone