moved flash messages to top of sidebar