separate assembling and drawing functions and make the latter happen on requestAnimat...