fix for #1326 ui bugs with qlib sidebar