refactored media page and assoc includes