make navbar dropdowns relatively positioned

This fixes a bug where, if there are dropdowns before other links, the dropdowns are squashed.