use currentBufferChange to track buffer changes

sidebarBufferClick fires only when the buffer is physically clicked in the
sidebar view