minor style/animation change
added comments to main code