basic plugin to get around a phonegap bug with iOS orientation