click event added to arrow and cursor updated