Click and rotate DOM elements