Grid on click implemented