generalize sidebar's howto