CON-1814 fix issue with fixed elements on ipads

On iPads with ios6 and ios7 elements with position:fixed are not working correctly when keyboard is displayed.
If you doing some clean up in this file please add  JS Docs to functions