Added events to control for mouse over and clicked.