Switching between buffers.

Change-Id: I94262d0c22bd8012870dbd053c00c3de7cd42c73