more work to the slider diretive