Fixed switching between view components