Fix dom manipulations on routing back with force, dynamic pages

After removing cached class from newPage, it's getting it again as pageToRemove and disappears after animation