added slide controller