How to click an element which is hiding behind the bottom bar

I am automating a mobile app, I am stuck in a page where there’s top bar and bottom bar, and content is scrollable, now when I am using scrollToView to find an element from list, the element is lying behind the bottom bar/top bar, and on clicking, it fails, how do I deal with this?