Scroll Element into View (not under navbar) with Selenium

Selenium click doesn't seem to work unless the element is visible. So I want bring element to view before click. There is a focus method in Selenium, but it does not seem to scroll the view. I tried Amith solution for Scroll Element into View with Selenium but some times element remained under navbar. Is there any way for scroll until element become observable and selenium can click on it?