Replace fragment stack with generic stack, give generic stack ability to expand