sepreate eventhandler module
seperate eventjs for handling mouse and touch events