The nuclear surface as a collective variable