Fixed: orientation change calculated correctly on Android

-Android does not use the "orientation change" event, it publishes "resize" events when phone is turned

-Thus moved orientationChange code next to resize listener as the code is more similar.

-Added calculation to determine how much each dimensions changed by; offsets are resized accordingly