width added for horizontal bar too