fixed issue with changing number of displayed docs
style change