add mouse click
add buffer control