Added scrollbars for distance