added handler for mouse out