fixed info boxes being displayed for a moment during page load with display none