added categories tab click event