Charts are now also rendered on preview slides

- added chart creation for preview slides
- removed some duplicated code
- currently doesn’t work on the first visible preview slide when
switching to presenter mode, since no event is fired
Merge pull request #6 from rsteube/fix-preview-area

Charts are now also rendered on preview slides. fixes #1