Add option for Prev\next buttons

Wanted ability to change dom type to span