added click-based navigation