changed mousover to click event