map move prev and next buffer