created a single page browser directive for sidebar