remove duplicated code
renaming slideshow stuff
update translations