WIP Add basic animation to controls collapsing and expanding

Suffering from a long delay before collapsing at the moment. Could it be the class toggling happens too slowly?