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.
what is the reason behind first declaring undefined variable and than assigning value to it in the next line?