Fixing collision algorithm to take into account boxes within one another
Updating HTML