bug fix for horizontal table scrolling