Added liquid logic for active tab