Added position object to views rendered by a collection

Added a position object to views rendered by a collection, so that each view can know the position within the collection at which it is displayed.