chage style of ul

add class to ul instead of set style method