Added basic mouse event handler