revert to previous layout