updated for remove the index scrollbar