removes photoviewer as it should be a separate module, includes loop behaviour, mantains_width_with_move behaviour and refactores a few portions of the code