improvemented caption of slider