Active motion of tangentially driven polymers in periodic array of obstacles