make home page layer list dynamic