toggle with the last buffer