Fixed HTML/CSS; made resizer expandable/collapsable; refactored JS