added getShownEvents function

getShownEvents allows you to get currently shown events. Thanks Stephen
Reid