fixes #298 footer flash onload