open slider in main page from java code