toggle next layer when appropriate metadata is hit.