added code to get the first media page