Revert "made theme loop"

This reverts commit 107e7a12d24f02b085ba0bc4f0ec5735324f8648.