Hiding popup markup from scroll visibility