I have modified div drawing method by joining side by side divs to one div.