Added x-Axis restriction