Change photo based on hash change (allows browser history movement)