A better way to scale app

A better scaling system. We only do resizing once, on application init.