added layer_selector option to doc