active tab logic

added active tab logic, which is active, that is darker