Added pagination to gallery
Tweaked gallery nav/transition styles
Added xapi property to be explicit
Merge from lndash