add sticky position to avoid jumping