Changed to a vertical accordion menu.

Changed the script for use as a vertical multi-level sidebar menu with
accordion functionality.