added removal of divs if outside, playing around with css