returns an index of the currently selected view (index in the array of views)
method doesn't return any data