Fix actions for right side of the bar

 totSLen was wrong