WIP previous button work
Seperated out listeners to different function
Fixed cycling through photos