Made configurable first/last, next/previous markers