added panel.isLast() helper and refactored some code to use it
added panel.isVisible() helper and refactored some code to use it
added breadcrumb.getClassFromPanel() helper and refactored some code to use it