added a feature to remove the div, hopefully can integrate into the minimize feature