Revert resize method to add/remove div.