Updating sweep animation to alter speed based on sensor