Adding mousedown event
Intermediate work on mouseclick event