checking bar width