Fix history sidebar