reorganise functions, change photos to be full screen