HoC: fixed bug for mobile view