Swipe between views

If you ever wondered, how you can swipe between views like in many iphone application, or simply on the home screen, then check out this post with a solution derived from the open sourced Android home screen:
Note You can find the best solution in the comments, I attached it as java file to this post.
WorkspaceView.java zipped
Note 2 ViewFlipper and ViewAnimator is quite buggy on Android 1.5 & 1.6, and even slow on newer versions.