added nav control and show hide image events