fix scroll and resize2