Rotate photos based on EXIF orientation
Whitespace cleanup