u can see in my code. i have set scroll:'horizontal'