Finally fixed moveScreen in x-direction