readded resize and fix scrolll