properly restore current fragment