Toggle trigger classes first

Enables behaviour that simulates a rudimentary tab controller.