fixed current layer may point the root index
re-added layer sidebar menu buttons