refactored news detail page