added guiding/unguiding functionality

selected layers, if normal layers, will be set guided or unguided