Layoutchange on mediaquery bug fixed