apply a first and last class to the popup
Merge pull request #27 from SpongeUK/feature/navigation-classes-on-popup

apply a first and last class to the popup