remove glitches with the animations of the main content view
do not use Layout.fillWidth in order to get smooth animations