added checks for the button clicked on mousedown events
added check for mouse button to mouseup events as well
Merge pull request #84 from hkdobrev/master

Check if left button is clicked on mousedown