Fixes issue with FAB alginment.

FAB now aligns correctly when selecting tabs.

Change-Id: I94aefb9194a60c47504f238eedbebd466f9bd52d
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index a9eb217..19af4ef 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -1137,18 +1137,14 @@
         // tab.
         if (position == ListsFragment.TAB_INDEX_SPEED_DIAL && !mIsLandscape) {
             mFloatingActionButtonController.onPageScrolled(positionOffset);
+        } else if (position != ListsFragment.TAB_INDEX_SPEED_DIAL) {
+            mFloatingActionButtonController.onPageScrolled(1);
         }
     }
 
     @Override
     public void onPageSelected(int position) {
         mCurrentTabPosition = position;
-        // Prevents jittery movement when clicking on tabs.
-        if (mCurrentTabPosition != ListsFragment.TAB_INDEX_SPEED_DIAL) {
-            mFloatingActionButtonController.manuallyTranslate(
-                    mFloatingActionButtonController.getTranslationXForAlignment(
-                            FloatingActionButtonController.ALIGN_RIGHT), 0);
-        }
     }
 
     @Override