added shown events function

from http://stackoverflow.com/questions/9121425/fullcalendar-extract-displayed-events