Respect line width when create bar item to prevent clipping

currently when you set the line width to a big number, it will draw the line off screen. To fix it, shift the startPoint and endPoint by half the line width, and make the frame of refresh control bigger, to hold the whole bar item