add left and right tab functionality. add left and right tab clear