Invertebrate Community Response to a Shifting Mosaic of Habitat