using offsetTop to calculate fixable element position