delicately reordered lines of code in bootstrap