fix nav alignment bug, flash messages in divs