create notification bar from the flash message at the bottom of the page