trying getNiceScroll method to avoid multiple declaration()