Added custom solution for ios-cordova where padding for fade out was 1px too big