Added check for overflow-y