barWidth selector and better height normalization