flash replaced with java slider