Set slider position each time the menu is opened.