Restore functionality broken in pull request #245

fix typo

fix failure to act on item selection with root person drop down menu

(re) fixed previous/next arrows on chart in module

Tidied up JS formatting

Hourglass chart now passes HTML5 validation.

Standardised html for popup menus on pedigree & hourglass charts
so the same CSS can apply to both

fix 1.5.3 pedigree chart bug whereby the popup menu overlays the trigger arrow on certain layouts preventing the menu from being hidden

... and animate the menu show/hide

Remove debug code and add missing width units

rethought menu popup - now uses CSS for positioning - improves visual effect of popup when layout is "oldest at bottom"