re-space layout