added zoom to and 'expand' extent for custom layers