add resize window callback for tutorial 1
Add SDL version of tutorial 5