making sure overflow check is fired on resize