now transforms layer instead of view for zooming