refactored show photo partials and updated pic loader pages for ajax