Initial hack at a working sidebar implementation