added new design of photo tab
some changes to photo loading and processing