set up property change listener for layer