handle reset of media element