Encapsulate css and cleanup Issue #278
Remove id legend-open and href not needed