Restored tab functionality