working mouse listener and draggin of players