fixing vertical scroll bug