place navbar code in partial