fix various padding and positioning bugs
Merge branch 'master' of github.com:edlongman/HTML5-circuits into nested-circuits
Keep branch up to date for fixes