adding footer height calculation to scroll indication