bug fix when getting visible indices
variable height cell support