How to handle the slider to make the element visible

More information would be more helpful…