# Ionic: Can't scroll up while using anchorScroll in ionic

**URL:** <https://forum.ionicframework.com/t/ionic-cant-scroll-up-while-using-anchorscroll-in-ionic/18077>\
**Category:** ionic-v1\
**Created:** [February 23, 2015, 8:43am UTC](https://forum.ionicframework.com/t/ionic-cant-scroll-up-while-using-anchorscroll-in-ionic/18077 "2015-02-23T08:43:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eanas](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@Eanas](https://forum.ionicframework.com/u/Eanas)\
**Post date:** [February 23, 2015, 8:43am UTC](https://forum.ionicframework.com/t/ionic-cant-scroll-up-while-using-anchorscroll-in-ionic/18077/1 "2015-02-23T08:43:02Z")

</div>

We are using scrollTo functionality in ionic application by setting the $location.hash(id) and $anchorScroll(). The scroll to bottom is working fine, but we can’t scroll up the page once the page scrolled to some location using $anchorScroll and $location.hash()., A demo is given in the link, in which when we click the bottom button it works fine and no issue noted, but when clicks the top button it will not works as expected ,Please give a solution… I have added ‘overflow-scroll=true’ to the tag. but no luck…

[Here is the Demo in Code pen](http://codepen.io/eanas/pen/azGByM/).
