Fixed sidebar bug in Firefox