CON-1814 fix issue with fixed elements on ipads
CON-1814 check if class exists before removing it
remove unneeded conditionals
chain methods
remove unneeded conditional check
scroll to previous position if it exists
manipulate classes before changing scroll position
CON-1814 fixes after CR
CON-1814 fixes after second round of CR
CON-1814 cache autocomplete value
CON-1814 add needed comments
CON-1814 remove reference to global object
Merge pull request #5137 from Wikia/CON-1814

CON-1814 fix issue with fixed elements on ipads