Fix overlay header shifting on iOS in VE

Calculate header position in JS when virtual keyboard is open. Hide
header when scrolling starts and show it when it ends (unfortunately
mobile Safari sends scroll events only when scrolling finishes).

Bug: 61240
Change-Id: Id9c56586bb27d2798e35e76614423d103a775d3c
Merge "Fix overlay header shifting on iOS in VE"