Adding App#resize

I basically copied and pasted this code based on how motion works.