avoid js effect if width<950