added comments to movement of sprite