Also fixed an edge case where the first visible child was off by 1 when it was just fully hidden. Signed-off-by: pierre <pierre.curto@gmail.com>