if javascript, set overflow hidden to slider mask