fixed photo sizing for iphone views
fixed ios iphone photo resizing issues for both portrait and landscape