debug thumbnail rotation