updated view to return both slide resource