fix tabletview and checks after every window resize