How do I set up a "media query" type event that will re-render our chart when the screen size is small?