fixed bug in fragment transitions