made keyboard orientation fixes

iOS keyboard orientation fixes as described here https://github.com/openframeworks/openFrameworks/issues/2621