detect orientation change and allow scaling by users