More changes to the previous commit. Fixed spinning animation and direction.