adding masking divs which trigger next/previous navigation