retaining the fragment on rotate
end of chapt14