updated pages

fixed spacing issues with top menu, separated code