add sidebar template and move admin panel to it

move css around a bit to match transientbug