add height constraint to sidebar type