refacto editSlideshow navbar