Fix export class and xml file scroll