allowing center alignment of elements