got horizontal autofit and resizing working