added listener call for inventory click event