slider is finally working... need to improve directive