basic sidebar template ported from ost