Fixed bug preventing timeline working

The view switcher was not disbaling and enabling views