make photos page work with backbone