fixed mediaType array handling
added toggle icon for iPad