now fully working vertical sliding