Fix top active links on first page request