Shows the last photo when clicking any photo instead of erroring