focus a buffer