I have some simple piece of codes which scroll the page to top with animation by clicking on every link containing the class of "top" and some other codes which I use them to scrol down to a specific div id.
But When I remove vertical scrolbar in facebook app pages by adding FB.Canvas.setAutoGrow(); and FB.Canvas.setSize(); that piece of code does not work any more in the facebook app page and I can not scroll to top and down. I searched and it seems we should use FB.Canvas.scrollTo from Facebook JS SDK instead.
By the way as much as I try to do so it seems I can't do that. If anybody can guide me in this regard I'll be so thankful.