Limits to 50 the number of media in the popin
Merge branch 'popin-limit'