hiding spacing between elements as needed