modified sticky effect to be more responsive