Router animate from bottom instead of right?

Is it possible to have a page slide in from the bottom like a popup instead of the right on router navigation?

I have a page I will use in multiple ways. Sometimes I want it sliding in from the right as normal and sometimes I’d like to slide up from the bottom.

Так открывайте popup, а в нем page. В чем проблема то?