Added callback function for draggin mouse, need implementation