it now moves on click, but wrongly