Added handler for mouseover, refactored focus and click handlers to use common logic.