Calendar widget issue

I have made a calendar widget that works with google calendars. I have two buttons to scroll up and down but for some reason every time I boot my phone, go to the home screen after a while etc. the calendar is scrolled all the way to the middle so that I have to scroll back up to get to today's events. How do I fix it so that it always shows the top?