added check for left scroll