fix vertical sliding solution