MOSYNC-3283 and MOSYNC-3301 fixed; MOSYNC-3338 - partial fix: iOS and Android

MOSYNC-3338: on Windows Phone, the layout system still has some problems. This is a partial fix or iOS and Android

Code reviewer: Ciprian Filipas