finished media page, also fixes #7