building sidebar architecture