fixed inconsistent jquery effects