Mass transport in gravity waves on a sloping bottom