moved item click function