add animation to results when clicked