Berry phases and zero-modes in toroidal topological insulator