Added a mouse listener and handler