Bug fix

Fixed a big where div containers were not checked for element id, causing strange behavior when running "dynamics".