update slider for work with java9