auto hide notice/error flash messages after 1-2 seconds