merged sidebar theme from alternate accordion

modified to include the improved sidebar, old code still commented
within. Categories no longer dynamic but shouldn't be a problem for
future portability