Merge "Choose last span if layout is towards first item" into mnc-ub-dev am: 110e2e66d6
am: a2d81d0e16

* commit 'a2d81d0e1690968b81c00be69d55028f64381564':
  Choose last span if layout is towards first item