You are in the home screen customization mode. Press the home button to exit that mode.
To rearrange application icons:
1. Touch and hold any application icon until the icons wiggle.
2. Arrange the icons by dragging them.
3. Press the Home button to save your arrangement.