Fix a bug which switches the hook adjustment angles.
Implement three new bottom endings.

Update code for fixed bugs in hook().