constrain bar display