make it so the bars dont overlap the adjacent divs