Add logic to add active class to li in category list.