Fix for data-transition flickering

when switching page data transistion flickers before changing. This
line fixes this issue