Change picture hash in URL while slideshow

original changeset by @vsaffonov in https://github.com/owncloud/apps/pull/1572

@jancborchardt  @DeepDiver1975 
I don't have the time ti fix this here. Can somebody have a look?