Change picture hash in URL while slideshow

original changeset by @vsaffonov in https://github.com/owncloud/apps/pull/1572

@jancborchardt  @DeepDiver1975