removeFragment method added