fixing change view fragment on media