use relative content view offset to determine state.