shrinking the div element