Added previous, next for record view