track item clicked using controller as functionality