don't run the 5.0 code in the preview (doesn't work)
use the overfling distance as the threshold to show/hide the FloatingActionButton
more safety annotations
add a method to show the FloatingActionButton no matter what