proper handling of the sliding layout, hiding action bar with parallax effect