working on getting layers to work on all pages.