Moved sidebar setup to state config