Precursors to X-ray bursts - The result of expansion and subsequent contraction of the neutron star's photosphere