Fix homepage flash
Make flashes disappear after 5 seconds