fixed teabletview on windowresize