add slide controller