Pretty window resizing with slate