less hacky css for resizing