Added animation for toggle button in demo project