checking mouse down event