Added toolbar before/after tab toggle events