added limited and dodgy view resizing for keyboard, will require more work later for polish