slider wark correcly