prevent bug when using custom scrollbar
prevent bug when using custom scrollbar