After the first click, links generated with sort() will handle direction switching automatically.
The cap member forms part of the rolling body direction switching path.