Text this: Scattering of flat top soliton by external potential