adding margin-top and adding left,right for panes