change offsetBot to offsetBottom