fix landscape mode for photoLibrary

#146