hook to override default layer control