fix to remember view mode on challenge page