isActive class to manage the sidebar menu