set width and height equal to size of div