Horizontal swaying platform loop

The same squeaky gear loop from the previous commit now applies to the
horizontal swaying platforms, as well.