Added functions to support toggle view links