move setting colspan before ater/before, sometimes changing colspan scrolls page