click squares and to navigate