add gesture for navigationcontroller
add large/small mode