implements opacity slider