adds hiding div and css properities