image resizing on login page for iPhone