Cases list auto resize method has been replicated in mainLoad.php file. With this change the problem was already solved.