UPDATE: included function to recursively add layers to lattice plots from a list