switched to collection view. added photo loading functionality