bootstrap and dynamic canvas