Implementing a generic carousel lib for android.