thumbnav glitch at times this needs to come before the rest