Changed next/prev commands to make switching buffers faster