fixed photos display  slow when running in iOS 7.