add touch event
add resize function