Libraries refocus as technology changes how people read