animation change in sidebar