Added a function to switch between buffers.

I added a function to switch between buffers quickly.