adding media object and default float left and float right classes