move dirty front into back