Updated .gitignore and animate switches when changing state