Refresh the slide selection after redraw
Added related elements to autoHideElement