[BUGFIX] If there's only one page in menu also add the lastClass to the item
Merge pull request #666 from featdd/menuFirstLastFix

[BUGFIX] If there's only one page in menu also add the lastClass to the item