The dog rolls over to scratch its back in the sand .