fixed bug that prevented table scrolling at first appearance