auto scaling to view