add the window sliding option