fix up layout of nav div and elements