Check position before reseting content inset