added support for custom depths via window.location