Fixed the menu on the side.

- Re-ordered the inclusion of jquery ui.
- Fixed layout issues.