chnages to the preshow function scrollToBeginningfn()

Change-Id: If85aed1dc99ee043f9253f5363b7e5b8160df6af