Added method to clear only last fragment

...as opposed to clearing all the fragments at once.

Sometimes there is a need to go only one step up in the hierarchy. I added a method which clears only last fragment which is on top of the stack, all other fragments remain in place.