Determine which animation to execute first by comparing width