Made layer switchers active only when layers are within scale