move bind event function to mbSlider namespace