The atomic radius goes on decreasing while going from left to right in a period because the atomic number of the elements increases which means the number of protons and electrons in the atoms increases (the extra electrons being added to the same shell). Due to a large positive charge on the nucleus, the electrons are pulled closer to the nucleus, and the size of an atom decreases.