Created seperate handler for mouseIn and mouseOut events