Uber's implementation of screenstack is quite complicated. It includes analytics and various forms of (infrequently used) animation customization. I don't want to open source the full implementation because (1) that would be difficult (2) a lot of the functionality doesn't make sense as a general utility.