[BUG #7762] Review px-based mobile code and make it resolution-independent
* Refactoring of high resolution img detection