first changes for vertical scroll