medium size navigation refactored