added div resizing and checkbox