improve table up, down selection