Added PR#41 and fixed root url item active check (for subdirectories).