test for slide event