change folder structure and modify ripple_horizontal demo