Adding get_context to stack view

Change-Id: I16407e7de1a16b6d2ca3c98e7991c439cd0e8fee