Resize logic implemented.
Visual styling.
Code cleanup.