added responsive for media library. fixed media database schema