Added SuppressWarnings(deprecation) to scrollToSide and getScrollOrListParent