now footer showing gaps between different horizontal elements according to number of elements.